package routers

import (
	"bookProject/api"
	"github.com/gin-gonic/gin"
)

func UserRouter(Router *gin.RouterGroup) {
	// v1/user
	UserRouter := Router.Group("user")
	{
		UserRouter.POST("mogu-admin", api.UserLogin)  //第二个参数  api的接口
		UserRouter.POST("register", api.UserRegister) //第二个参数  api的接口
	}
}
